/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Entity;

import java.sql.Date;

/**
 *
 * @author Mr-aUgust
 */
public class Etbl_Car_bookings {
    private int _carbookings_Id;
    private Date _startDate;
    private Date _endDate;
    private Date _dateReturn;
    private boolean _driver;
    private float _price;
    private float _refund;
    private String _createOn;
    private String _modifiedOn;
    private int _status;
    private int _carId;
    private int _userId;
    private String _nameCar;
    private String _userName;

    public String getUserName() {
        return _userName;
    }

    public void setUserName(String _userName) {
        this._userName = _userName;
    }
    

    public Etbl_Car_bookings() {
    }

    public String getNameCar() {
        return _nameCar;
    }

    public void setNameCar(String _nameCar) {
        this._nameCar = _nameCar;
    }

    public Etbl_Car_bookings(int _carbookings_Id, Date _startDate, Date _endDate, Date _dateReturn,boolean _driver, float _price, float _refund, String _createOn, String _modifiedOn, int _status, int _carId, int _userId) {
        this._carbookings_Id = _carbookings_Id;
        this._startDate = _startDate;
        this._endDate = _endDate;
        this._dateReturn = _dateReturn;
        this._driver=_driver;
        this._price = _price;
        this._refund = _refund;
        this._createOn = _createOn;
        this._modifiedOn = _modifiedOn;
        this._status = _status;
        this._carId = _carId;
        this._userId = _userId;
    }

    public boolean isDriver() {
        return _driver;
    }

    public void setDriver(boolean _driver) {
        this._driver = _driver;
    }

    public int getCarId() {
        return _carId;
    }

    public void setCarId(int _carId) {
        this._carId = _carId;
    }

    public int getCarbookings_Id() {
        return _carbookings_Id;
    }

    public void setCarbookings_Id(int _carbookings_Id) {
        this._carbookings_Id = _carbookings_Id;
    }

    public String getCreateOn() {
        return _createOn;
    }

    public void setCreateOn(String _createOn) {
        this._createOn = _createOn;
    }

    public Date getDateReturn() {
        return _dateReturn;
    }

    public void setDateReturn(Date _dateReturn) {
        this._dateReturn = _dateReturn;
    }

    public Date getEndDate() {
        return _endDate;
    }

    public void setEndDate(Date _endDate) {
        this._endDate = _endDate;
    }

    public String getModifiedOn() {
        return _modifiedOn;
    }

    public void setModifiedOn(String _modifiedOn) {
        this._modifiedOn = _modifiedOn;
    }

    public float getPrice() {
        return _price;
    }

    public void setPrice(float _price) {
        this._price = _price;
    }

    public float getRefund() {
        return _refund;
    }

    public void setRefund(float _refund) {
        this._refund = _refund;
    }

    public Date getStartDate() {
        return _startDate;
    }

    public void setStartDate(Date _startDate) {
        this._startDate = _startDate;
    }

    public int getStatus() {
        return _status;
    }

    public void setStatus(int _status) {
        this._status = _status;
    }

    public int getUserId() {
        return _userId;
    }

    public void setUserId(int _userId) {
        this._userId = _userId;
    }
    
}
